package com.qsbc.pygram.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsbc.pygram.entity.Student;
import com.qsbc.pygram.mapper.StudentMapper;
import com.qsbc.pygram.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2022-12-17
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Resource
    private StudentMapper studentMapper;

    @Override
    public Page<Student> findPage(Page<Student> page, String username, String sno) {

        return studentMapper.findPage(page,username,sno);
    }

}
